package org.millioncall.yueyoga.admin.model;

import java.util.Date;

import org.millioncall.openplatform.util.DateTimeUtils;

public class LiftClubRecord {
	private String status;	//活动状态
	private String name; //活动主题
	private Date startdate; //开始时间
	private Date enddate; //结束时间
	private String place; //场地
	private String mainTeacher; //老师
	private String officer; //负责人
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStartdate() {
		DateTimeUtils dtu = DateTimeUtils.getInstance();
		if(this.startdate != null){
			return dtu.format(this.startdate, "yyyy-MM-dd HH:mm:ss");
		}
		return null;
	}

	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	public String getEnddate() {
		DateTimeUtils dtu = DateTimeUtils.getInstance();
		if(this.enddate != null){
			return dtu.format(this.enddate, "yyyy-MM-dd HH:mm:ss");
		}
		return null;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getMainTeacher() {
		return mainTeacher;
	}

	public void setMainTeacher(String mainTeacher) {
		this.mainTeacher = mainTeacher;
	}

	public String getOfficer() {
		return officer;
	}

	public void setOfficer(String officer) {
		this.officer = officer;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
}
